Technique for updating a resident application and associated parameters in a user terminal through a communications network

ABSTRACT

Methods and apparatus related to updating a resident application (RA) and replacing an updated resident application with a previous version of a resident application are described. The methods and apparatus may be used for updating and replacing resident applications in set-top terminals (STTs) of a cable system including a cable network headend.

RELATED APPLICATION

The present application is a continuation of pending U.S. patent application Ser. No. 10/655,655, filed on Sep. 5, 2003, which is scheduled to issue as U.S. Pat. No. 7,500,235 and which is hereby expressly incorporated by reference in its entirety.

FIELD OF THE INVENTION

The invention relates to communications systems and methods, and more particularly to a system and method for updating software applications in user terminals in a communications network, e.g., a cable network.

BACKGROUND OF THE INVENTION

A set-top terminal (STT) serves as a gateway between a user's television and the cable feed carrying incoming signals. An STT receives, from a cable network, encoded signals containing programming content, decodes the signals, and converts them into analog signals displayable by the television. The STT also accepts commands from the user relating to the user's choices for programming and services.

Typically, an STT includes an operating system and one or more resident applications (RAs) stored in memory. An RA may comprise one or more software routines, and provides functionality to the STT when the RA is executed. For example, an RA may provide a parental-blocking function that enables a user to block the viewing of selected programs or channels based on one or more factors including rating, channel, or time. Other functions that may be incorporated in an RA include an interactive program guide (IPG) that displays television program information, including program name, start time and duration, and a navigator that can be used to select services and applications offered over the cable network.

Many RAs record various aspects of the STT user's behavior. For example, a parental-blocking application may record data indicating which programs or channels the user wishes to have blocked. An RA may also record a user's program choices and keep track of the user's favorite programs or channels. Data relating to user choices and preferences (such data being referred to as “user parameters”) are stored in memory in the STT so that the RA may access the data and optimize its functionality to the user.

In many cable networks, the cable operator periodically updates the RA that resides in one or more STTs to improve the STT's functionality or to provide new services. This is ordinarily accomplished by broadcasting an updated version of the RA over the network from the cable operator's headend facility to one or more STTs. The STTs receive the updated RA and download it into memory. The updated RA is typically a modified version of the original RA stored in the STTs. Additionally, because software errors and other problems are sometimes discovered in the process of introducing an updated RA, it is sometimes preferable to conduct a trial of the updated RA on a limited number of STTs in the network before installing it on all STTs.

Many cable operators avoid replacing an existing RA with an entirely new RA, because this process can result in a loss of the user parameters that are stored in the STT memory. Typically, when a respective RA generates and stores user parameters in the STT memory, the user parameters are formatted and organized in a manner specific to the respective RA, and cannot be read or interpreted by a different RA. As a consequence, the process of installing a new RA can result in the new RA being unable to read or interpret correctly the user parameters that are stored in the STT memory. In such a case, installing the new RA may result in the loss of information such as, for example, parental blocking choices, in which case any program may become viewable on the user's television from the moment the new RA is downloaded and executes. In many cases, the only solution is for the user to re-enter his or her choices and preferences in accordance with the new RA's user interface. Such a loss of user preferences is unacceptable to many users (and to many cable operators).

SUMMARY OF THE INVENTION

The invention is premised upon a recognition of a need for updating an RA that resides in one or more STTs while preserving the user preferences stored, in the form of user parameters, in the STT memory. In accordance with the invention, when an RA in an STT is updated, the user parameters associated with the RA are sent from the STT to a remote location, e.g., the headend facility. The received parameters are stored in association with an identifier of the STT to facilitate a possible roll-back to the original RA. A version of the parameters is derived from the received parameters, which is compatible with an updated version of the RA. The updated version of the RA is installed in the STT, and the new version of the parameters is provided to the STT as well.

In accordance with an aspect of the invention, an application facilitating the communications of the user parameters between an STT and the remote location is downloaded to the STT by “force-tuning” the STT to a selected program channel. To that end, the STT includes a database for associating the selected program channel with a service of downloading the application. A message, e.g., formatted in accordance with an Emergency Alert System (EAS) message format, is sent to the STT to direct the STT to access the selected program channel, thereby causing the STT to consult the database to learn the service associated with the selected program channel. The STT then requests the service to accomplish the downloading of the application.

BRIEF DESCRIPTION OF THE DRAWINGS

Further objects, features and advantages of the invention will become apparent from the following detailed description taken in conjunction with the accompanying drawing showing illustrative embodiments of the invention, in which:

FIG. 1 illustrates components of a broadband communications system;

FIG. 2 shows schematically a program channel table, a service table, and associated parameter tables;

FIG. 3 illustrates components of a set-top terminal;

FIG. 4 is a flowchart illustrating a process for broadcasting an upgrade channel application to set-top terminals in a cable network;

FIG. 5 is a flowchart illustrating a process for retrieving user parameters from a set-top terminal and transmitting them to a head end facility;

FIG. 6 illustrates a data packet containing user parameters from a set-top terminal;

FIG. 7 illustrates the data structure of a user parameter database;

FIG. 8 is a flowchart illustrating a process for installing a new resident application, and converted user parameters in a set-top terminal; and

FIG. 9 is a flowchart illustrating a process for implementing a roll-back to a previous resident application;

DETAILED DESCRIPTION

FIG. 1 illustrates components of a broadband communications system, e.g., a cable system. Headend 120 receives incoming programming attributed to various program channels, and provides cable television services to STTs including STTs 170 and 180. It should be noted at this point that the terms “transmission channel” and “program channel” should not be confused. A “transmission channel” signifies a designated frequency band through which a transport stream containing broadcast programs and/or data is transmitted. A “program channel” signifies the source of program material or the service selected by a user to view. For example, a user may select program channel 2 to view a program channel provided by CBS, program channel 14 to view a program channel provided by ESPN, etc.

In a conventional manner, headend 120 broadcasts programming content downstream to STTs 170 and 180. Headend may also transmit to users data concerning system messages. Quadrature amplitude modulation (QAM) modulators and quaternary phase-shift keying (QPSK) modems in hub 130 modulate and format program streams and data received from headend 120 and transmits the modulated signals through network 150. In this instance, network 150 is a multi-channel delivery network comprises well-known hybrid fiber coaxial (HFC) cable network.

As shown in FIG. 1, STTs 170 and 180 are connected to network 150 and receive program broadcasts, as well as data, e.g., control information, emergency information, etc. STTs 170 represent a first group of M STTs in a service area or neighborhood, where M represents an integer. Likewise, STTs 180 represent a second group of N STTs in another service area or neighborhood, where N represents another integer. One or more service area nodes (e.g., 161, 163) function as an interface between the STTs and network 150.

Programming content is broadcast from headend 120 to STTs 170 and 180 through “in-band” transmission channels. These transmission channels may be 6 MHz bands populating a forward passband, e.g., 350-750 MHz band, of a coaxial cable, which is allocated for downstream communication from headend 120 to STTs 170 and 180. QAM modulator bank 137 in hub 130 modulates the downstream communication onto selected in-band channels in accordance with a QAM scheme.

In addition to the in-band channels, downstream data may be communicated from headend 120 to STTs 170 and 180 via one or more forward data channels (FDCs). FDCs, sometimes referred to as “out-of band” channels, typically are used to transport data, e.g., system messages, to STTs 170 and 180. The FDCs may occupy the 70-130 MHz band of a coaxial cable. QPSK modem pool 138 in hub 130 modulates downstream data onto selected FDCs in accordance with a QPSK scheme.

Upstream data is transmitted from STTs 170 and 180 to headend 120 via one or more reverse data channels (RDCs), which occupy a reverse passband, e.g., 5-40 MHz band, of a coaxial cable. Data carried in the reverse data channels is modulated in accordance with a QPSK scheme. Hub receives the QPSK signals in the RDC and performs any necessary demodulation before transmitting the signals to headend 120.

STTs 170 and 180 may utilize a reverse data channel for sending application data, control messages, file requests, etc. Using a contention-based access mechanism established by the Digital Audio Visual Council (DAVIC), a standard setting organization, each STT can share an RDC with other STTs in the network. This mechanism enables an STT, e.g., STT 170-1, to transmit upstream messages without a dedicated connection to a QPSK demodulator. The mechanism also provides equal access to the STTs that share the RDC, and enables detection and recovery from reverse path collisions that occur when two or more of the STTs transmit an upstream message simultaneously. As also specified by DAVIC, for communications purposes, each STT and network controller 210 are identified by the Internet protocol (IP) addresses assigned thereto. However, these IP addresses may be randomly assigned each time the broadband communication system is reconfigured. As a result, the IP address of an STT or that of network controller 210 may change after a system reconfiguration. Nevertheless, each STT and network controller 210 are also assigned a media access control (MAC) address on a permanent basis, surviving any system reconfiguration.

Headend 120 includes program material processing unit 231, application server 220, network controller 210, switching unit 230, and broadcast carousel file server (BCFS) 225. In a well-known manner, program material processing unit 231 receives program materials from various sources attributed to different program channels, and processes the program materials to form individual program streams. Under control of network controller 210, the program streams are switched by switching unit 230 to appropriate modulators in QAM modulator bank 137 in hub 130, where the program streams are modulated onto the corresponding in-band transmission channels for broadcast to STTs 170 and 180 over network 150.

Application server 220 represents one or more server systems that provide software applications and services for STT users. For example, application server 220 may be a workstation comprising one or more software applications for providing database services, network management services, interactive program guide services, billing services, etc.

Memory 222 provides data storage capacity for application server 220. In this illustrated embodiment, memory 222 may be, e.g., a hard disk drive, which resides in application server 220. Alternatively, memory 222 may be an external storage device connected to application server 220.

BCFS 225 functions by repeatedly broadcasting, in a cyclical fashion, a data stream containing video, audio, data, codes, software applications, etc for STTs. In general, BCFS 225 is used to “trickle,” or disseminate piecemeal, selected data items (such as program guide material) to STTs, which then assemble the data in their memory. In accordance with one embodiment, the output of BCFS 225 is transmitted via an in-band channel. Alternatively, the output of BCFS 225 is transmitted via an FDC. The rate of transmission via an in-band channel in general is relatively high because of a relatively wide bandwidth afforded to an in-band channel. However, the BCFS transmission may interfere with the transmission of programming content via the same in-band channel. On the other hand, the rate of transmission via an FDC is relatively low but the BCFS transmission would avoid the interference-related problems. The transmission channel utilized for BCFS output is referred to herein as the “BCFS channel.”

An STT may download material (e.g., program guide data, a software application, etc.) from BCFS 225 by tuning to the BCFS channel and waiting until the material appears within the cyclical transmission from BCFS 225. If the STT tunes to the BCFS channel while the desired material is being broadcast, the STT may download one or more portions of the material and wait for the beginning of the material in the next cycle.

To facilitate the provision of broadcast services to STT users, BCFS 225 regularly broadcasts program channel and service related tables such as those shown in FIG. 2. These tables cross-reference program channels with a variety of television services, which can include various types of video and audio programming and online services. Transparent to STT users, selection of a program channel transfers control to a specific application program that, along with one or more appropriate parameters obtained from the cross-reference tables, activates (i.e., displays on the selected channel) the television service associated with that selected channel. The channel selection function advantageously enables an STT to process data from sources other than just traditional analog video broadcast sources. These other sources can include, for example, MPEG video, VBI, IP, and ROM.

Referring to FIG. 2, program channel table 601 associates program channels with services listed in service table 603. When an STT user selects a channel, that channel is first identified in program channel table 601 where a pointer associates the program channel with a particular service in service table 603. For example, program channel 2 is associated with service 1, program channel 4 is associated with service 2, and program channel 9 is associated with service 10.

Service table 603 indicates the type of service provided. For example, as shown in column 611, services 1-11 are video services, services 12 and 13 are music services, and service 14 is an NVOD service. Optionally, a program channel does not have to be associated with a service, in which case it is associated with a “null” service 0 (e.g., channel 3 is associated with service 0).

Parameter tables 605-1 through 605-K provide application parameters needed to activate the sources for various services. The content of sources for video services may include, for example, recently released movies, classic movies, science fiction programming, or weather information. Application parameters are used by an STT when executing application software, and may include the frequency of a particular source's signals or other more complex variables.

In sum, the program channel and service tables enable an STT to execute software and activate a variety of services. When an STT user selects a program channel, the STT identifies the type of service associated with the selected channel from channel table 601 and service table 603, and then executes the appropriate program or routine to access the service's source by referring to the appropriate parameter table, demodulating and deformatting the signal as necessary, and displaying the source's contents.

In accordance with one implementation, controller 210 updates the program channel and service tables, and transmits a message directing STTs to download the updated tables. In accordance with this implementation, the message also includes information indicating the directory location of the updated program channel and service tables in the BCFS channel stream.

Returning to FIG. 1, network controller 210 processes user requests for applications and services and controls the distribution thereof by application server 220 and BCFS 225. It should be noted that, although in the embodiment shown in FIG. 1, BCFS 225 is separate from network controller 210, in another embodiment, BCFS 225 may be incorporated into, and function as part of, network controller 210.

FIG. 3 illustrates components of a generic STT (e.g. 170-1), which include, among others, processor 230, interface 250 and memory 210. Processor 230 orchestrates the operations of STT 170-1. Interface 250 includes cable modem 258 capable of receiving in-band channels and FDCs from, and transmitting RDCs to, network 150. Interface 250 also performs any well-known modulation, demodulation or formatting that is necessary to transmit or receive programming content and data.

Memory 210 stores a variety of software applications and data. For example, the STT operating system, which provides the basic functionality for STT 170-1, is stored in memory 210. A software application received from headend 120, such as an RA, may also be stored in memory 210. Memory 210 additionally stores data representing user parameters generated by the RAs. Memory 210 may be, e.g., a non-volatile random-access memory.

In many cable networks, the cable operator updates from time to time the RA to improve its functionality or to provide new services. In prior art networks, many cable operators avoid replacing an existing RA with an entirely new RA, because this process can result in the loss of information representing user choices and preferences. Typically, when a given RA generates and stores user parameters in the STT memory, the user parameters are formatted and organized in a manner specific to the respective RA, and cannot be read or interpreted by a different RA. In such a case, installing a new RA may result in the loss of information such as, for example, parental blocking choices, in which case any program may become viewable on the user's television. This is often unacceptable to many users (and to many cable operators).

In accordance with the invention, an RA is replaced in one or more STTs by transmitting, over an assigned transmission channel (e.g., the BCFS channel), an upgrade channel application (UCA) used to facilitate the roll-out of the new RA. To that end, the cable operator transmits a message identifying one or more STTs in a network that are selected to receive the new RA. The message directs the selected STTs to force-tune to a specified program channel. The selected STTs access updated program channel and service tables and determine that the specified program channel is associated with the assigned transmission channel. The selected STTs then utilize the assigned transmission channel to download the UCA. After a selected STT downloads the UCA, the UCA retrieves the user parameters stored in the STT, and transmits them to a remote location for storage. A new RA is then installed in the STT. Meanwhile, the user parameters are converted, at the remote location, to be compatible with the new RA. After the new RA is installed in the STT, the UCA retrieves the converted user parameters from the remote location, and stores them in the STT memory for exploitation by the new RA.

The present invention is applicable, in accordance with one implementation, where a cable operator conducts a full roll-out of a new RA. In this implementation, the operator selects all or substantially all of the STTs in a network to receive the new RA. Accordingly, the operator broadcasts the UCA to all or substantially all of the STTs in the network. The UCA, executing on each respective STT, retrieves user parameters from the STT memory and transmits them to the operator's headend facility for storage. The user parameters for each respective STT are stored and indexed based on identifying information associated with the respective STT. The operator then installs the new RA on each of the STTs in the network. Meanwhile, the stored user parameters are converted to be compatible with the new RA, and transmitted to the respective STTs. The UCA in each respective STT receives the converted user parameters and stores them in the STT memory.

Because software errors and other problems are sometimes discovered in the process of introducing a new RA, it may be preferable to conduct a trial of a new RA among a limited number of STTs in the network, before installing it on all STTs. If the trial proves successful, the operator may then install the new RA on all the STTs in the network. Accordingly, in another implementation, the invention is applicable where a cable operator selects a limited group of STTs, e.g., STTs 170, for a trial of a new RA. The selected group may comprise a group of associated STTs, e.g., the STTs in the same service area.

In the following discussion, STT 170-1 is used to represent a generic STT within a set of STTs selected to receive a new RA. The set of selected STTs may comprise, for example, all or substantially all of the STTs in network 150 (as in the case of a full roll-out of a new RA). Alternatively, the set may comprise a more limited number of STTs, e.g., STTs 170-1 through STT 170-M (as in the case of a trial of a new RA).

According to an aspect of the invention, the cable operator prepares a UCA, which is designed to read the user parameters stored in an STT's memory and transmit them to the operator's headend facility for storage. The operator installs the UCA on each of the selected STTs by transmitting it over the network from the headend.

FIG. 4 shows a flowchart depicting various steps performed in carrying out this aspect of the invention. At step 412, the cable operator installs in application server 220 a software module designed to receive and store user parameters from various STTs in network 150. Referring to FIG. 1, UCA module 223 resides in, and executes on, application server 220.

At step 415, the cable operator installs the UCA in BCFS 225. In accordance with one implementation, the UCA is installed in BCFS 225 in the following manner. Referring to step 417, BCFS 225 begins broadcasting the UCA, in a cyclical fashion, over the BCFS channel. In addition, the cable operator installs in BCFS 225 updated program channel and service tables in which the UCA is associated with a specified remote BCFS file download service (i.e., the UCA is a file that needs to be downloaded from BCFS 225). Furthermore, the updated program channel and service tables associate the remote download service with a specified program channel, e.g., program channel 16 in program channel table 601. BCFS 225 begins broadcasting the updated program channel and service tables over the BCFS channel.

At step 425, network controller 210 transmits an Emergency Alert System (EAS) message over network 150 to selected STTs in accordance with the invention. In prior art, an EAS message carries instructions to one or more STTs to override the normal programming on a selected channel and play a specified audio and video message, which may be a text message or video crawl. Specified cable systems are required by law to include EAS equipment that is capable of providing EAS messages on all programmed channels. However, in accordance with the invention, the EAS message here (although formatted and disseminated similarly to a prior art EAS message) carries instructions for one or more selected STTs to “force-tune” to a specified program channel, e.g., program channel 16. In order to tune to, or access, the specified program channel, a selected STT first looks up the service associated with the specified program channel in the program channel and service tables, e.g., those of FIG. 2. In this instance, the program and service tables associate specified program channel with the aforementioned remote UCA download service. Not to interfere with the normal function of a EAS message, i.e., conveying emergency information, the inventive EAS message is of the type accorded the lowest priority available in the EAS message system.

In this instance, the EAS message also contains data identifying selected STTs, e.g., STT 170-1, to which the message is intended. For example, the MAC address of STT 170-1 may be included in the EAS message to identify the intended recipient STT 170-1. In an alternative implementation, an IP address of the STT is used as the identifier, instead. Other methods for identifying the selected STTs are possible. If the operator is conducting a trial of a new RA, only the STTs selected for trial are identified in the EAS message. Alternatively, if the operator is conducting a full roll-out of a new RA, all or substantially all of the STTs in the network may be identified.

In the implementation used to conduct a trial of a new RA, any STT not selected for the trial receives the EAS message, does not find its identifier and, accordingly, ignores the instructions carried in the EAS message. In this example, STT 170-1 receives the EAS message, recognizes its identifier and processes the instructions to tune to program channel 16. STT 170-1 consults the program channel and service tables and (referring to FIG. 2) determines that program channel 16 is associated with a file download parameter in table 605-K. In this instance, the file download parameter specifies a remote BCFS file download service which provides access to the UCA. Accordingly (referring to step 430), STT 170-1 transmits to controller 210 via an RDC a file request for the UCA furnished by BCFS 225. Controller 210 responds by providing to STT 170-1 information indicating the directory location of the UCA on the BCFS channel. STT 170-1 tunes to the BCFS channel. All other selected STTs similarly submit UCA requests and receive the directory location information concerning the UCA.

At step 436, STT 170-1 downloads the UCA from the BCFS channel. The UCA is stored in memory 210 within STT 170-1. At the same time, all other selected STTs download and store the UCA. Referring to FIG. 3, UCA 455 resides in memory 210 and executes on STT 170-1.

According to a second aspect of the invention, once UCA 455 is operating in STT 170-1, UCA 455 communicates with application server 220 over network 150. Specifically, UCA 455 retrieves one or more user parameters from memory 210 and transmits them to application server 220. Application server 220 stores the user parameters in memory 222.

FIG. 5 is a flowchart depicting various steps carried out in performing this aspect of the invention. At step 439, UCA 455 reads from memory 210 the existing user parameters compatible with the RA to be replaced. At step 445, UCA 455 transmits the user parameters over network 150 to application server 220.

In one implementation, UCA 455 transmits the user parameters in packet form to application server 220 over an RDC, in accordance with a Trivial File Transfer Protocol (TFTP). FIG. 6 is a schematic illustration of a data packet 428 that may be used to transmit to headend 120 the user parameters retrieved from the memory of STT 170-1. In the example illustrated in FIG. 6, a first field 440 carries data indicating the MAC address associated with STT 170-1. A plurality of additional fields 441-444 carry data representing the user parameters. Field 441 may contain, e.g., data relating to user choices regarding parental-blocking of channels. Similarly, field 442 may contain data relating to network services received via STT 170-1. Field 443 may contain data relating to the user's favorite channels. Field 444 may contain data indicating the user's favorite times for recording program materials. It should be noted that although for purposes of illustration, four user parameter fields are shown, packet 428 may comprise any number of user parameter fields.

Returning to FIG. 5, at step 452, application server 220 stores the one or more user parameters in a user parameter database maintained in memory 222. In one implementation, this function is performed by UCA module 223.

In this instance, the user parameters from STT 170-1 are indexed and stored based on the MAC address of STT 170-1. FIG. 7 illustrates the data structure of a user parameter database 540 that may be used by UCA module 223 to store user parameters retrieved from various STTs. User parameter database 540 includes one or more user files each corresponding to a respective STT. Each row in user parameter database 540 corresponds to a single STT record. Each STT record comprises a plurality of fields, each of which carries information pertaining to the respective STT. The user parameter database is structured so that a given STTs record may be indexed, identified and retrieved based on the MAC address associated with the respective STT. Referring to FIG. 7, user parameter database 540 comprises five STT records 560A-E. Column 573 holds MAC addresses for various STTs. Columns 574-577 hold user parameters for each respective STT. For example, STT record 560A may store data relating to STT 170-1. In this example, the first field (column 573) of STT file 560A holds data representing the MAC address of STT 170-1. Four additional fields hold data representing various user parameters associated with STT 170-1, e.g., user parameter data indicating user choices regarding parental-blocking of channels, parameters pertaining to services received via STT 170-1, parameters relating to the user's favorite channels, and parameters relating to the user's favorite recording times. It should be noted that the user parameter database 540 shown in FIG. 7 is intended for illustrative purposes only. In other implementations, a user parameter database may comprise any number of STT records, and an STT record may comprise any number of user parameter fields.

In accordance with a third aspect of the invention, the user parameters received from STTs are converted to a version of the user parameters compatible with a new RA, the new RA is installed in an STT, application server 220 transmits the converted user parameters back to the STT, and the converted user parameters are stored in the STT memory.

FIG. 8 is a flowchart depicting various steps carried out to perform this aspect of the invention. At step 456, application server 220 converts the one or more user parameters to parameters recognizable by the new RA and stores the converted user parameters. In one implementation, the conversion is performed by UCA module 223. To store the converted user parameters, UCA module 223 may generate a converted user parameter database, similar to the user parameter database 540 shown in FIG. 7, to store the converted user parameters. Alternatively, UCA module 223 may generate a single, integrated database for storing both the original user parameters and the converted user parameters.

Referring to step 457, the cable operator installs the new RA on BCFS 225. At step 458, BCFS 225 broadcasts cyclically the new RA over the BCFS channel. At step 459, STT 170-1 downloads and stores the new RA. Under control of the UCA, STT 170-1 submits a file request for the new RA to controller 210. Controller 210 responds by providing to STT 170-1 the directory address of the new RA on the BCFS broadcast. The UCA retrieves the new RA from the BCFS channel and stores the new RA in memory 210. Once installed on STT 170-1, the new RA begins to execute.

When the new RA initializes on STT 170-1, UCA 455 may be erased partially or entirely from memory 210. Therefore, STT 170-1 may download another copy of the UCA 455 into memory 210. Referring to FIG. 3, UCA 455 again resides in memory 210 and executes on STT 170-1.

At step 461, UCA 455 requests from application server 220 the converted user parameters associated with STT 170-1. At step 462, application server 220 retrieves from storage the converted user parameters associated with STT 170-1. In one implementation, this function may be performed by UCA module 223. Accordingly, in this implementation, UCA module 223 locates the converted user parameters for STT 170-1 in the converted user parameter database, based on the MAC address of STT 170-1. At step 464, application server 220 transmits the converted user parameters to STT 170-1. In accordance with one implementation, the converted user parameters are transmitted over the FDC. At step 474, UCA 455 stores the converted user parameters in memory 210.

In an alternative implementation, user parameters are not transmitted to headend 120 for storage. Instead, in this implementation, the conversion function of UCA module 223 may be performed by UCA 455. Accordingly, UCA 455 is downloaded to STT 170-1, and UCA 455 reads the one or more user parameters from memory 210, converts the one or more user parameters to parameters recognizable by the new RA, and stores the converted user parameters in memory 210. The new RA is then installed on STT 170-1 in the manner described above in steps 457-459 of FIG. 8.

Roll-Back

In accordance with another aspect of the invention, a system and method are utilized for implementing a roll-back, i.e., a re-installation of an RA (the “original RA”) that was previously removed from one or more STTs in a network. If the original RA has been replaced by a new RA that is incompatible with the original RA, it may additionally be necessary to re-install the user parameters that were compatible with the original RA (the “original user parameters”) and removed from the STT memory.

A roll-back may be desirable for a variety of reasons, such as, for example, where a software error is discovered in a new RA during a trial. In such case, the cable operator prepares a restore channel application (RCA), and installs the original RA and the RCA on the STT. The RCA retrieves the original user parameters from the headend and stores them in the STT memory. In one implementation, the functions of an RCA may be combined with those of a UCA within a single software application.

FIG. 9 is a flowchart depicting various steps performed in carrying out this aspect of the invention. In this discussion, STT 170-1 is again used to represent the STTs selected to receive the previous version of the RA. At step 480, the cable operator installs the original RA onto BCFS 225. At step 481, BCFS 225 begins broadcasting, in a cyclical fashion, the original RA over the BCFS channel. Updated program channel and service tables associating the original RA with a designated service are similarly installed onto BCFS 225. BCFS 225 broadcasts the updated program channel and service tables in the usual manner.

Controller 210 transmits a control message directing the selected STTs to tune to the BCFS channel and download the original RA. STT 170-1 receives the control message, consults the program channel and service tables and, at step 482, receives the original RA from the BCFS channel and downloads it into memory 210.

At step 483, the cable operator installs an RCA on the BCFS 225. Accordingly (referring to step 484), BCFS 225 begins broadcasting, cyclically, the RCA over the BCFS channel. The operator also updates the program channel and service tables to reflect the addition of the RCA. The updated program channel and service tables associate a specified program channel with a remote download service for downloading the RCA from BCFS 225.

At step 486, network controller 210 broadcasts over the network an EAS message carrying information identifying STT 170-1, and the EAS message contains instructions for STT 170-1 to access a specified program channel, in accordance with the invention. In one implementation, the MAC address of each selected STT (e.g., STT 170-1) is included in the EAS message to indicate that each selected STT is an intended recipient. In an alternative implementation, IP addresses are used to identify the selected STTs.

STT 170-1 receives the EAS message, recognizes its identifier and processes the instructions. Similarly, all other selected STTs recognize their identifiers and read the message. In one implementation, pursuant to the EAS instructions to access the specified program channel, STT 170-1 determines from the program channel and service tables that the specified program channel is associated with the aforementioned remote service for downloading the RCA from the BCFS channel. Accordingly, at step 488, STT 170-1 submits a file request for the RCA to controller 210, which responds by providing information indicating the directory location of the RCA on the BCFS broadcast. STT 170-1 tunes to the BCFS channel. At step 492, STT 170-1 receives and downloads the RCA via the BCFS channel. The RCA is stored in memory 210 and executes on STT 170-1.

At step 494, the RCA requests the original user parameters for STT 170-1 from application server 220. In accordance with one implementation, the RCA sends to application server 220, via the RDC, a message containing an identifier for STT 170-1 and a request for original user parameters. In this implementation, a MAC address is used to identify STT 170-1. An alternative implementation uses an IP address as an identifier.

At step 496, application server 220 retrieves the original user parameters associated with STT 170-1 from storage. In accordance with one implementation, application server 220 locates the original user parameters within user parameter database 540 using the MAC address of STT 170-1. In this implementation, this function is performed by an RCA module, analogous to UCA module 223, that resides in application server 220.

At step 497, application server 220 transmits the original user parameters to STT 170-1. In accordance with one implementation, application server 220 transmits the original user parameters over an FDC. In this implementation, application server 220 may transmit the original user parameters in a data packet similar to data packet 428 shown in FIG. 6. At step 499, the RCA receives the original user parameters and stores them in memory 210.

In accordance with yet another aspect of the invention, a cable network operator broadcasts a specially-designed software application, referred to as a parameter backup application (PBA), which may be similar to the UCA described above, to one or more STTs on the network. The PBA, once installed on a respective STT, retrieves user parameters from the STT memory and transmits them to headend for storage. The user parameters are stored in a database at the headend as backup user parameters, and are retrieved in the event an unexpected event causes the loss of the user parameters from the user's STT, or of the STT itself.

As an example, a user may lose his or her STT due to a fire or theft. In accordance with one implementation, the operator may then replace the user's STT with a new device, and install a parameter recovery application (or PRA). which may be similar to the RCA described above, on the user's new STT. In this implementation, the operator may provide to the PRA the MAC address of the user's lost STT. The PRA transmits the lost STT's MAC address to the application server in the headend, and requests the user's original user parameters. The application server in the headend responds by retrieving the original user parameters from storage and transmitting them to the new STT. The new STT stores the original user parameters in memory. By accessing the recovered original user parameters, the new STT is able to function in accordance with the user choices and preferences which the user had previously entered into the lost STT.

The foregoing merely illustrates the principles of the invention. It will thus be appreciated that those skilled in the art will be able to devise numerous other arrangements which embody the principles of the invention and are thus within its spirit and scope.

For example, the invention is applicable to an update of a resident application not only in a set-top terminal described above, but also in any device connectible to a communications network, e.g., a multi-channel cable network. In particular, one such device may be a host device which runs, e.g., on an OpenCable Applications Platform (OCAP), and which may be sold in retail outlets, e.g., digital television sets or other consumer products for receiving cable services. The OCAP enables developers to design host devices interoperable across cable systems in North America. For details on the functional requirements of one such host device, one may refer, e.g., to: “OpenCable™ Host Device Core Functional Requirements,” OC-SP-HOSR-CFR-I13-030707, Cable Television Laboratories, Inc., Jul. 7, 2003. The host devices have a common interface to a point-of-deployment (POD) module. For details on such an interface, one may refer, e.g., to: “OpenCable™ HOST-POD Interface Specification,” OC-SP-HOSTPOD-IF-II3-030707, Cable Television Laboratories, Jul. 7, 2003. The POD module, comprising a PCMCIA device, can be inserted into the host device, allowing a viewer to receive cable systems' secure digital video services, e.g., premium subscription channels, video-on-demand (VOD) services, etc. Specifically, the POD module contains conditional access functionality, as well as the capability of converting messages to a common format. Thus, the POD module provides a cable operator with a secure device at the user premises, and acts as a translator so that the host device needs to understand a single protocol, regardless of the type of the network to which it is connected. It will also be appreciated that where a resident application is installed in a POD module, the invention equally applies to an update of such a resident application in the POD module.

In addition, in the embodiment shown in FIG. 1, the network transport is illustratively realized using HFC cable network 150. However, other networks such as digital subscriber line (DSL) networks, ethernet networks and satellite networks may be used, instead.

Finally, the system illustrated in FIG. 1 and STT in FIG. 3 are disclosed in a form in which various functions are performed by discrete functional blocks. However, anyone or more of these functions could equally well be embodied in an arrangement in which the functions of any one or more of those blocks or indeed, all of the functions thereof, are realized, for example, by one or more appropriately programmed processors. 

1. A method for replacing an updated resident application with a previous version of the updated resident application, comprising: transmitting a message in a first format via a multi-channel delivery network to a set top terminal on which said previous version of the updated resident application is to be installed; receiving, at an application server located at a remote location from the set top terminal, a request for user parameters previously used by said set top terminal with the previous version of the updated resident application; and transmitting from the application server to the set top terminal, the user parameters previously used by said set top terminal with the previous version of the updated resident application.
 2. The method of claim 1, wherein said first format is in an emergency alert system format, said message including a set top terminal identifier identifying said set top terminal. 3 . The method of claim 2, wherein said message in the emergency alert system format forces said set top terminal to tune to a broadcast channel and download a restore application.
 4. The method of claim 3, further comprising: prior to transmitting said message in the first format, receiving user parameters from said set top terminal as part of a process of installing said updated resident application, said user parameters having been used with said previous version of the updated resident application; and storing said received user parameters in a database in association with an identifier corresponding to said set top terminal.
 5. The method of claim 4, wherein said identifier is an address corresponding to said set top terminal.
 6. The method of claim 4, further comprising: prior to transmitting said message in a first format, installing said previous version of the updated resident application on a broadcast file system; and transmitting a first control message to said set top terminal to control said set top terminal to download said previous version of the updated resident application.
 7. The method of claim 6, wherein transmitting the user parameters previously used by said set top terminal includes transmitting said user parameters over a forward data channel in a data packet.
 8. The method of claim 1, wherein said message in the first format causes said set top terminal to submit a file request for a restore application, the method further comprising: transmitting said restore application to the set top terminal in response to said file request, said restore application causing said set top terminal to request the user parameters previously used by said set top terminal with the previous version of the updated resident application.
 9. The method of claim 8, further comprising: prior to transmitting said message in the first format, receiving user parameters from said set top terminal as part of a process of installing said updated resident application, said user parameters having been used with said previous version of the updated resident application; and storing said received user parameters in a database in association with an identifier corresponding to said set top terminal.
 10. The method of claim 9, wherein said application server is located at a cable network headend facility.
 11. A method of operating a set top terminal to replace an updated resident application with a previous version of the updated resident application, comprising: receiving, at the set top terminal, a message in a first format via a multi-channel delivery network; transmitting to an application server located at a remote location from said set top terminal, a request for user parameters previously used by said set top terminal with the previous version of the updated resident application; and receiving from the application server the user parameters previously used by said set top terminal with the previous version of the updated resident application.
 12. The method of claim 11, wherein said first format is in an emergency alert system format, said message in the first format including set top terminal identifier identifying said set top terminal.
 13. The method of claim 12, wherein said message in the emergency alert system format forces said set top terminal to tune to a broadcast channel and download a restore application.
 14. The method of claim 13, further comprising: prior to receiving said message in the first format, transmitting user parameters from said set top terminal as part of a process of installing said updated resident application, said user parameters having been used with said previous version of the updated resident application.
 15. The method of claim 14, wherein said set top terminal identifier is an address corresponding to said set top terminal.
 16. The method of claim 14, further comprising: prior to receiving said message in the first format, receiving a first control message; and in response to said first control message downloading said previous version of the updated resident application.
 17. The method of claim 16, wherein receiving the user parameters previously used by said set top terminal includes receiving said user parameters over a forward data channel in a data packet.
 18. The method of claim 10, wherein said message in the first format causes said set top terminal to submit a file request for a restore application, the method further comprising: receiving said restore application in response to said file request; and under control of said restore application requesting the user parameters previously used by said set top terminal with the previous version of the updated resident application.
 19. The method of claim 18, further comprising: prior to receiving said message in the first format, transmitting user parameters from said set top terminal as part of a process of installing said updated resident application, said user parameters having been used with said previous version of the updated resident application.
 20. The method of claim 19, wherein said application server is located at a cable network headend facility. 